#coding=utf-8
i=9
while i>=1:
    j =1
    while j <= i:
        print(j,"x",i,"=",j*i,"\t",end="")
        j += 1
    print()
    i -= 1